Cooperative Scenario Between Connected Automated Vehicles And Pedestrians